package org.cbyyx.tc.model.dto.productRequest;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 商品更新请求
 * @author cbyyx
 */
@Data
public class ProductUpdateRequest {

    @NotBlank(message = "商品ID不能为空")
    private Long id;
    private String name;
    private String description;
    private Double price;
    private Integer stock;
    private String category;
}